package cn.lds.j375.chlm.service;

import cn.lds.j375.chlm.dto.ResultDTO;
import cn.lds.j375.chlm.entity.Order;
import cn.lds.j375.chlm.entity.OrderDetails;

import java.util.List;

public interface  OrderService {

    ResultDTO<List<Order>> selectOrderByUserId(Integer userId);

    ResultDTO addOrder(Integer userId, OrderDetails ... orderDetails) throws Exception;
}
